package com.scau.repository;

import com.scau.entity.OrderDetail;

import java.util.List;

public interface OrderDetailRepository {

    public List<OrderDetail> findAll(int index, int limit);
    public List<OrderDetail> findByOrderId(int orderId);
    public List<OrderDetail> findByOrderId2(int index, int limit,int orderId);
    public void save(OrderDetail orderDetail);
    public int countByOrderId(int orderId);

}
